home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000455_news@columbia.edu_Thu May 25 18:47:43 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24560
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 25 May 1995 14:47:53 -0400
  3. Received: by apakabar.cc.columbia.edu id AA28474
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 25 May 1995 14:47:50 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Kermit under MS-Windows
  9. Date: 25 May 1995 18:47:43 GMT
  10. Organization: Columbia University
  11. Lines: 47
  12. Message-Id: <3q2jcf$rpj@apakabar.cc.columbia.edu>
  13. References: <3q04p0$1ldu@ns2-1.CC.Lehigh.EDU> <heliosD951IA.IC8@netcom.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <heliosD951IA.IC8@netcom.com>,
  18. Thomas David Nichols <helios@netcom.com> wrote:
  19. >jmt7@Lehigh.EDU wrote:
  20. >
  21. >:         We use Kermit 3.14 very heavily on our campus. From DOS everything
  22. >: works great. From MS-Windows, however, sometimes it works but often our
  23. >: users will get a message similar to either of these below:
  24. >
  25. >:         "unknown hardware for port, using..."
  26. >
  27. >When I get this, I just repeat the "take mscustom.ini" command, and the 
  28. >second time, it works.  I don't know why.  The error occurs after I have 
  29. >used a Windows comm program, never when I start with Kermit.  Your 
  30. >mscustom.ini script can test \v(port) to see whether it is a COM or a BIOS
  31. >and stop in case of an error, but I haven't been able to find a point to 
  32. >branch back to in order to fix the problem automatically.
  33. >-- 
  34. >David Nichols  <helios@netcom.com>  Heliotrope Quality Systems
  35.  
  36. Windows and/or Windows communications programs tamper with the PC BIOS,
  37. where Kermit goes to find out what ports are available and what their
  38. addresses (and IRQs) are.  The solution to this problem is to supply this
  39. information to Kermit yourself.
  40.  
  41. Here is a macro you can use to set your port under Windows.  MS-DOS
  42. Kermit 3.14 is required.
  43.  
  44.   define PORT -
  45.     if not = \v(argc) 2 end 1 Port number required, -
  46.     if not = 0 \findex(:\%1:,:1:2:3:4:) forward PORT\%1, -
  47.     end 1 \%1 - bad port number, -
  48.     :PORT1, set com1 \x03f8 4, set port 1, end \v(status), -
  49.     :PORT2, set com2 \x02f8 3, set port 2, end \v(status), -
  50.     :PORT3, set com3 \x03e8 4, set port 3, end \v(status), -
  51.     :PORT4, set com4 \x02e8 3, set port 4, end \v(status)
  52.  
  53. Put this macro definition in your MSCUSTOM.INI file and then just tell
  54. Kermit "port 1", "port 2", "port 3", or "port 4" instead of "set port 1",
  55. etc, and everything should work as expected.
  56.  
  57. IMPORTANT: The addresses and IRQs are the most common ones, but they are
  58. not going to work on every machine.  PS/2s have different addresses and IRQs
  59. for COM3 and COM4.  Many add-on cards -- especially internal modems --
  60. might use different IRQs altogether, like 5.  Again, see KERMIT.BWR for the
  61. gruesome details.
  62.  
  63. - Frank